package com.twohand.admin.Service;

import com.twohand.admin.Entity.ShortLink;

public interface ShortLinkService {
    String generateShortLink(String longLink);
    String regenrateShortLink(String longLink,long longLinkHash);
    Boolean saveShortLink(ShortLink shortLink);
    String getShortLink(long longLinkHash,String longLink);
    Boolean isShortLinkRepeated(String shortLink);
    String getLongLink(String shortLink);
}
